/*******************************************************************************
 * Copyright (c) 2008, 2009 Tapestry IDE Developers
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *     Tapestry IDE Developers - initial API and implementation
 *******************************************************************************/
package com.googlecode.tapestry.ide.core.model;

import org.eclipse.core.resources.IResource;
import org.eclipse.jdt.core.ICompilationUnit;

/**
 * The Interface ITapestryItem.
 */
public interface ITapestryItem extends IModelElement {

	/**
	 * Gets the compilation unit.
	 * 
	 * @return the compilation unit
	 */
	ICompilationUnit getCompilationUnit();

	/**
	 * Gets the template resource.
	 * 
	 * @return the template resource
	 */
	IResource getTemplateResource();

}
